/*
* 执行bui更新及相关依赖库的更新
* @执行更新的方法：package.json 加入 "scripts": { "updateBui": "node node_modules/bui2/updateBui }"
* donkey 2019.6.3
* */


const killNode = require('./script/killNode')
const httpMod = require('./script/$http')
// const updateBaseurl = require('./script/url')
const updateBui = require('./script/bui')
const libs = require('./script/libs')

!async function() {
    await killNode()
    await httpMod()
    await updateBui()
    await libs()
    // await updateBaseurl()
}()


process.on('exit', function() {
    console.log(`\x1b[0m\x1b[36m更新完毕!!!`);
});
